runtime.stringStruct.len (field)
36 uses
runtime (current package)
alg.go#L55: return memhashFallback(x.str, h, uintptr(x.len))
debuglog.go#L667: len: len,
map_faststr.go#L28: if key.len < 32 {
map_faststr.go#L32: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L38: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L48: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L62: if *((*[4]byte)(add(key.str, uintptr(key.len)-4))) != *((*[4]byte)(add(k.str, uintptr(key.len)-4))) {
map_faststr.go#L73: if memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L97: if k.len != key.len || b.tophash[i] != top {
map_faststr.go#L100: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L123: if key.len < 32 {
map_faststr.go#L127: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L133: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L143: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L157: if *((*[4]byte)(add(key.str, uintptr(key.len)-4))) != *((*[4]byte)(add(k.str, uintptr(key.len)-4))) {
map_faststr.go#L168: if memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L192: if k.len != key.len || b.tophash[i] != top {
map_faststr.go#L195: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L250: if k.len != key.len {
map_faststr.go#L253: if k.str != key.str && !memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L330: if k.len != key.len || b.tophash[i] != top {
map_faststr.go#L333: if k.str != key.str && !memequal(k.str, key.str, uintptr(key.len)) {
print.go#L20: rp.len = sp.len
print.go#L21: rp.cap = sp.len
string.go#L234: len int
string.go#L565: ss := stringStruct{str: unsafe.Pointer(str), len: findnull(str)}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |